﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:bing="clr-namespace:Microsoft.Maps.MapControl;assembly=Microsoft.Maps.MapControl" 
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d" x:Class="Microsoft.OpenTurf.Silverlight.MapView"
	xmlns:local="clr-namespace:Microsoft.OpenTurf.Silverlight.Common;assembly=Microsoft.OpenTurf.Silverlight.Common"
	>

	<UserControl.DataContext>
		<Binding x:Name="MapViewModel" Mode="OneWay" Path="Map" Source="{StaticResource Locator}"/>
	</UserControl.DataContext>

	<Grid x:Name="LayoutRoot">
        <bing:Map x:Name="Map" CredentialsProvider="{StaticResource BingMapCredentials}" Center="{Binding CenterPoint, Mode=TwoWay}" />
	</Grid>
</UserControl>